package com.CmJava.annotation;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)//运行时生效
@Target(ElementType.TYPE)//注解在类上
public @interface Component {

    //beanName
    String value() default "";
}
